<!DOCTYPE html>
<html>
    <head>
        <meta charset='utf-8'>
        <meta name="viewport" content="width=device-width, initial-scale=1, minimum-scale=1, maximum-scale=1, user-scalable=no"/>
        <title>管理后台</title>
        <script type="text/javascript" src="/script/lib/jquery.min.js"></script>
        <script type="text/javascript" src="/script/lib/bootstrap.min.js"></script>
        <link rel="stylesheet" type="text/css" href="/style/lib/bootstrap.min.css" />
        <link rel="stylesheet" type="text/css" href="/style/lib/font-icons/font-awesome/css/font-awesome.min.css" >
        <link rel="stylesheet" type="text/css" href="/style/custom/base.css" />
        <script type="text/javascript" src="/script/custom/base.js"></script>
        <?php if(!empty($this->_javascript)):?>
        <?php foreach($this->_javascript as $javascript):?>

        <script type="text/javascript" src="/script/<?php echo $javascript;?>.js"></script>
        <?php endforeach;?>
        <?php endif; ?>
        <?php if(!empty($this->_style)):?>
        <?php foreach($this->_style as $style):?>

        <link rel="stylesheet" type="text/css" href="/style/<?php echo $style;?>.css" />
        <?php endforeach;?>
        <?php endif; ?>

    </head>

    <body class="page-body">
        <header class="header-<?php echo $collapsedNav; ?> navbar navbar-fixed-top navbar-vp">
            <div class="container">
                <div class="header-logo">
                    <a class="home" data-placement="bottom" data-toggle="tooltip" href="/" id="js-shortcuts-home" title="">
                        <img alt="Logo" src="/images/logo.jpg" width="55" height="55">
                        <div class="vp-text-container">
                            <h3>VP-BMS</h3>
                        </div>
                    </a>
                </div>
                <div class="header-content">
                    <div class="navbar-collapse collapse">
                        <ul class="nav navbar-nav float-right">
                            <li class="hidden-sm hidden-xs">
                                <div class="search">
                                    <form accept-charset="UTF-8" action="/search" class="navbar-form pull-left" method="get"><div style="display:none"><input name="utf8" type="hidden" value="✓"></div>
                                        <span role="status" aria-live="polite" class="ui-helper-hidden-accessible"></span><input class="search-input form-control ui-autocomplete-input" id="search" name="search" placeholder="Search in this group" type="search" autocomplete="off">
                                        <input id="group_id" name="group_id" type="hidden" value="11">
                                        <input id="repository_ref" name="repository_ref" type="hidden">

                                        <div class="search-autocomplete-opts hide" data-autocomplete-path="/search/autocomplete"></div>
                                    </form>

                                </div>
                            </li>
                            <li class="hidden-xs">
                                <a data-placement="bottom" href="javascript:;" data-target=".commonModal" data-toggle="modal" title="添加">
                                    <i class="fa fa-fw fa-plus"></i>
                                </a>
                            </li>
                            <li>
                                <a data-placement="bottom" data-toggle="tooltip" href="/profile" title="Profile settings">
                                    <i class="fa fa-fw fa-user"></i>
                                </a>
                            </li>
                            <li>
                                <a class="logout" data-method="delete" data-placement="bottom" data-toggle="tooltip" href="/users/signout" rel="nofollow" title="Sign out">
                                    <i class="fa fa-fw  fa-sign-out"></i>
                                </a>
                            </li>
                        </ul>
                        <h1 class="title">
                            <?php $this->element('dashboard.phtml');?>
                        </h1>
                    </div>
                </div>
            </div>
        </header>
        <div class="page-sidebar page-sidebar-<?php echo $collapsedNav; ?>">
            <?php $this->element('sidebar-menu.phtml'); ?>
            <div class="content-wrapper">
                <?php echo $this->yield; ?>
            </div>
        </div>
    </body>
</html>